<div class="relatives form">
<?php 
echo $form->create('Relative');
echo $form->input('id');
?>
	<fieldset>
	 		<legend><?php __('Редактировать родственника студента');?></legend>
			<table width="100%" border="0" cellspacing="10" cellpadding="0" bgcolor="#cccccc">
			  <tr> 
			    <td colspan="5">Студент - 
			    <b>
			    <?php 
			    	echo $student['Studentinfo']['lastname'].' ';
			    	echo $student['Studentinfo']['firstname'].' ';
			    	echo $student['Studentinfo']['surname'].' ';
			    	echo $form->hidden('studentinfo_id', array('value' => $student['Studentinfo']['id']));
			    ?>
			    </b>
			    </td>
			  </tr>
			  <tr>
			    <td width="15%" class="infoblock""><?php echo $form->input('relativestype_id', array('label' => '')); ?></td>
			    <td width="45%" class="infoblock"><?php echo $form->input('fio', array('label' => '', 'size' => 50)); ?></td>
			    <td width="15%" class="labelblock">ТЕЛЕФОНЫ</td>
			    <td class="infoblock"><?php echo $form->input('phone', array('label' => '', 'size' => 30)); ?></td>
			    <td class="infoblock"><?php echo $form->input('mobile', array('label' => '', 'size' => 30)); ?></td>
			  </tr>
			  <tr>
			    <td width="15%" class="labelblock">МЕСТО РАБОТЫ</td>
			    <td width="45%" class="infoblock"><?php echo $form->input('job', array('label' => '', 'size' => 50)); ?></td>
			    <td width="15%" class="labelblock">ДОЛЖНОСТЬ</td>
			    <td colspan="2" class="infoblock"><?php echo $form->input('jobstatus', array('label' => '', 'size' => 70)); ?></td>
			    </tr>
			  <tr>
			    <td width="15%" class="labelblock">ПАСПОРТНЫЕ ДАННЫЕ</td>
			    <td width="45%" class="infoblock"><?php echo $form->input('passport_data', array('label' => '', 'size' => 50)); ?></td>
			    <td width="15%" class="labelblock">АДРЕС</td>
			    <td colspan="2" class="infoblock"><?php echo $form->input('adress', array('label' => '', 'size' => 70)); ?></td>
			    </tr>
			  <tr>
			    <td width="15%" class="labelblock">EMAIL</td>
			    <td width="45%" class="infoblock"><?php echo $form->input('email', array('label' => '', 'size' => 50)); ?></td>
			    <td colspan="3" class="labelblock">&nbsp;</td>
			    </tr>			    
			</table>    	
	</fieldset>
<?php echo $form->end('Сохранить');?>
</div>
<!--<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Delete', true), array('action' => 'delete', $form->value('Relative.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Relative.id'))); ?></li>
		<li><?php echo $html->link(__('List Relatives', true), array('action' => 'index'));?></li>
		<li><?php echo $html->link(__('List Relativestypes', true), array('controller' => 'relativestypes', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Relativestype', true), array('controller' => 'relativestypes', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Students', true), array('controller' => 'students', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Student', true), array('controller' => 'students', 'action' => 'add')); ?> </li>
	</ul>
</div>
-->